package org.cuit.epoch.seon.example;

/**
 * @author Seon
 * @version 1.0
 * @since 2024-09-11
 */
public class OnState implements State {
    @Override
    public void pressSwitch(LightContext context) {
        System.out.println("The light has been opened.");
        context.setCurrentState(new OffState());
    }
}
